package com.love.poetry.infrastructure.persist.poetry;

import java.util.List;

import com.love.poetry.domain.poetry.Poet;
import com.youboy.core.orm.Page;

public interface PoetRepository {

	void save(Poet poet);

	void update(Poet poet);

	void delete(Poet poet);

	void delete(String id);

	Poet get(String id);

	List<Poet> query(Object object);

	Page<Poet> queryPage(Page<Poet> page);
	
	Poet queryUniqueByName(String name);
}